<template>
  <div class="bigbox">
       <van-nav-bar
      title={{}}
      left-text="返回"
      right-text="按钮"
      left-arrow
      @click-left="onClickLeft"
      @click-right="onClickRight"
    >
      <template #right>
        <van-icon name="search" size="18" />
      </template>
    </van-nav-bar>

    <div><img src="bind." alt=""></div>

  </div>
</template>

<script>
export default {
   
  data() {
    return {
      bind:[],
    }
  },
  methods: {
     onClickLeft() {
      Toast("返回");
    },
    onClickRight() {
      Toast("按钮");
    },
  },
  mounted() {
    this.$http(
          {
          method:"get",
          path:"/goods/item",
          params:{
            id:localStorage.getItem("id"),
          }

        }).then(res=>{

          console.log(res);
          this.bind=res
        }
      )
  },

}
</script>

<style>

</style>